#pragma once
#include "stdafx.h"
#include "CTexture.h"
#include "CCamera.h"
#include "CChara.h"
#include "CMap.h"
#include "CDevice.h"

class CGame{
private:
	CCamera *m_Cam;
	BOOL m_error;
	
	CPlayer m_player;
public:
	CTexture *m_PlayerTex;
	CTexture *m_GroundTex;
	CMap m_cmap;
	static CGame &GetInstance()
	{
		static CGame Instance;
		return Instance;
	}
	BOOL GameInit();
	void GameFin();
	BOOL GameError();
	void GameUpdate();
	void GameDraw();
};